package com.jic.manager.api.rest;

import com.jic.common.base.vo.RestResult;
import com.jic.manager.response.SysNoticeResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @ClassName AnnouncementApi
 * TODO
 * @Description
 * @Author chenhongfeng
 * @Date 2020/11/28 15:26
 * @Version 1.0
 **/
@FeignClient(name = "jic-manager",path = "/announcement")
@Api("公告接口")
public interface AnnouncementApi {

    /**
     * 公告
     * @return
     */
    @PostMapping("listPage")
    @ApiOperation("查询公告")
    RestResult<List<SysNoticeResponse>> getAnnouncement();

}
